<?php
foreach ($eventList as $event) {
    $control->renderView('myPools_eventListItem', array('event' => $event));
}
?>

<div class="row-fluid">
    <?php 
    echo $control->getLink('添加投票',array('eventID'=>'0'), array('htmlOptions' => array('class' => 'btn', 'enctype' => 'multipart/form-data')));
     //echo $control->getAjaxLink(array('name' => '删除', 'id' => 'deleteEvent'), array('htmlOptions' => array('class' => 'btn', 'enctype' => 'multipart/form-data')));
    ?>
</div>

<?php $control->renderView('share', 'share'); ?>
